package com.tangcco.lockwell.service.impl;

import com.tangcco.lockwell.repository.GradeStatisticsMapper;
import com.tangcco.lockwell.service.GradeStatisticsService;
import com.tangcco.lockwell.viewmodel.admin.score.GradeStatistics;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

@Service
public class GradeStatisticsServiceImpl implements GradeStatisticsService {
    @Resource
    GradeStatisticsMapper gradeStatisticsMapper;

    @Override
    public List<GradeStatistics> selectGradeStatistics(GradeStatistics gradeStatistics) {
        return gradeStatisticsMapper.selectGradeStatistics(gradeStatistics);
    }
}
